<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <title>niivue test</title>
  </head>
  <body>
    <noscript>
      <strong>niivue doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>

    <!-- demo 1 -->
    <div id="demo" style="width: 800px; height: 400px; margin: 20px">
      <canvas id="gl" height="480" width="640"> </canvas>
    </div>

    <script type="module">
      import * as niivue from '../dist/index.js'
      globalThis.Niivue = niivue.Niivue
      globalThis.NVDocument = niivue.NVDocument
      globalThis.DEFAULT_OPTIONS = niivue.DEFAULT_OPTIONS
      globalThis.INITIAL_SCENE_DATA = niivue.INITIAL_SCENE_DATA
      globalThis.LabelTextAlignment = niivue.LabelTextAlignment
      globalThis.LabelLineTerminator = niivue.LabelLineTerminator
      globalThis.LabelAnchorPoint = niivue.LabelAnchorPoint
      globalThis.niivue = niivue
      globalThis.NVMeshLoaders = niivue.NVMeshLoaders
    </script>
  </body>
</html>
